package com.tenebrous.jestic.entity.framwork.system;

import lombok.Getter;
import lombok.Setter;

import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.io.Serializable;
import java.util.Date;

@Getter
@Setter
@Table(name = "SYS_NOTICE")
public class SysNotice implements Serializable {

	private static final long serialVersionUID = -1450339698390393194L;

	@Id
    private String id;

    private String stype;

    private String title;

    private String subtitle;

    private String contents;

    private Integer published;

    private Date publishdate;

    private String publishUserid;

    private Integer viewcnt;

    private String remark;

    private Date createDate;

    private String createUserid;

    private Date updateDate;

    private String updateUserid;

    @Transient
    private int userReadedCount;
    @Transient
    private int totalReadedCount;
}